package com.eianiao.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.eianiao.bean.Employee;
import com.eianiao.common.PageParam;

/**
 * @Author eianiao
 * @Date 2022 06
 * @Version 1.0
 **/

public interface EmployeeService {

    /**
     * 登录界面
     * @param employee
     * @return
     */
    Employee login(Employee employee);

    /**
     * 添加员工
     * @param employee
     * @return
     */
    int add(Employee employee);

    /**
     * 更新员工
     * @param employee
     * @return
     */
    int update(Employee employee);

    /**
     * 分页查询员工信息
     * @param pageParam
     * @return
     */
    IPage findPage(PageParam pageParam);
}
